package com.qf.flower_zuul.service;


import com.qf.flower_zuul.entity.JsonResult;
import org.springframework.stereotype.Component;

@Component
public class MyFlowerInfoHystrix implements FlowersService {


    @Override
    public JsonResult findBySubarea(String subarea) {
        return JsonResult.createFailJsonResult("0001002","找不到花的列表");
    }

    @Override
    public JsonResult findByNameAndId(Long detailId, String flowerName) {
        return JsonResult.createFailJsonResult("0001003","找不到查询的花的列表");
    }
}
